Instantiates a new FilterCustomOptions object with the specified values.
Syntax
'Declaration
Public Function New( _
ByVal (,) As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim weights() As Integer
Dim centerX As Integer
Dim centerY As Integer
Dim divisor As Integer
Dim offset As Integer
Dim instance As New FilterCustomOptions(weights, centerX, centerY, divisor, offset)
public FilterCustomOptions(
int[,] ,
int ,
int ,
int ,
int
)
public: FilterCustomOptions(
int[,]* ,
int ,
int ,
int ,
int
)
public:
FilterCustomOptions(
array<int>^ ,
int ,
int ,
int ,
int
)
Parameters
- weights
- Filter weights matrix [height, width]
- centerX
- Horizontal value for center point of the filter. -1 for center of defined size.
- centerY
- Vertical value for center point of the filter. -1 for center of defined size.
- divisor
- Value for divisor used by custom filter.
- offset
- Value for offset added to output of the convolution.
See Also